﻿/// <summary>
/// AbsESF_MetaObject【IESF_Reset接口】
/// </summary>
public partial class AbsESF_MetaObject : IESF_Reset
{
    #region IESF_Reset    
    /// <summary>
    /// Reset重置
    /// </summary>
    public void Reset()
    {
        OnBeforeReset(this);
        OnReset();
        OnAfterReset(this);
    }
    /// <summary>
    /// Reset重置之前事件处理
    /// </summary>
    /// <param name="_self">回收对象</param>
    protected virtual void OnBeforeReset(IESF_Reset _self) { }
    /// <summary>
    /// Reset重置
    /// </summary>
    protected virtual void OnReset() { }
    /// <summary>
    /// Reset重置之后事件处理
    /// </summary>
    /// <param name="_self">回收对象</param>
    protected virtual void OnAfterReset(IESF_Reset _self) { }
    #endregion
}